home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Programming / MiniGL / include / mgl / vertexbuffer.h < prev   
Encoding:
C/C++ Source or Header  |  2000-04-07  |  736 b   |  41 lines

  1. /*
  2.  * $Id: vertexbuffer.h,v 1.1.1.1 2000/04/07 19:44:51 tfrieden Exp $
  3.  *
  4.  * $Date: 2000/04/07 19:44:51 $
  5.  * $Revision: 1.1.1.1 $
  6.  *
  7.  * (C) 1999 by Hyperion
  8.  * All rights reserved
  9.  *
  10.  * This file is part of the MiniGL library project
  11.  * See the file Licence.txt for more details
  12.  *
  13.  */
  14.  
  15. #ifndef __VERTEXBUFFER_H
  16. #define __VERTEXBUFFER_H
  17.  
  18. #include <Warp3D/Warp3D.h>
  19.  
  20. struct MGLVertex_t {
  21.     W3D_Vertex  v;
  22.     GLubyte     outcode;
  23.     GLboolean   inview;
  24.     float bx,by,bz,bw;
  25.     MGLNormal   Normal;
  26. };
  27.  
  28. typedef struct MGLVertex_t MGLVertex;
  29.  
  30. enum {
  31.     MGL_CLIP_NEGW   =   1<<0,
  32.     MGL_CLIP_TOP    =   1<<1,
  33.     MGL_CLIP_BOTTOM =   1<<2,
  34.     MGL_CLIP_LEFT   =   1<<3,
  35.     MGL_CLIP_RIGHT  =   1<<4,
  36.     MGL_CLIP_FRONT  =   1<<5,
  37.     MGL_CLIP_BACK   =   1<<6
  38. };
  39.  
  40. #endif
  41.